package sk.fei.vrml.objects;

import javax.media.opengl.GLAutoDrawable;

public class VrmlObject implements Drawable{
	
	protected String type;
	protected String name;
	
	public String getObjectType(){
		return type;
	}
	
	public void setObjectType(String t){
		type = t;
	}
	
	public void draw(GLAutoDrawable GLAutoDrawable,VrmlAppearance appearance){}
	
	public String getName() {
		if (name==null) return this.type;
		else return name;
	} 
	
	public void setName(String name) {
		this.name = name;
	}
	
}
